package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.entity.Result;
import org.dey.pojo.CheckGroup;
import org.dey.pojo.CheckUpload;
import org.dey.pojo.Order;
import org.dey.pojo.PageVo;

import java.util.List;

/**
 * @author deyran
 * @classname
 * @see IService
 */
public interface CheckUploadService extends IService<CheckUpload> {

    //查
    public PageVo<CheckUpload> querycheckupload(CheckUpload checkupload, int pageNum, int pagesize);

    //增
    public Result insertcheckupload(CheckUpload checkupload);

    //删
    public Result delcheckupload(int id);

    //修改前先根据id查到该数据
    public CheckUpload querycheckuploadbyid(int id);

    //根据id修改
    public Result updatecheckuploadbyid(CheckUpload checkupload);

    public Result submitcheckupload(Integer id);

    public List<Order> queryorderName();

    public List<CheckGroup> queryallcheck();
}
